package com.example.demo.services;

import com.example.demo.entity.ReportGli;
import com.example.demo.entity.teacher;
import com.example.demo.entity.userAdd;
import com.example.demo.entity.userSec;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

public interface userSecServices {

    public Integer adduserSec(String id, String life, Integer age, String telephone, LocalDateTime creatime,String teacher,Integer teacherId);

    //多表查询
    public List<userAdd> selectall(Integer teacherId);

    public userAdd selectUser(String userId);

    Integer updateUser(userSec userSec);


    public List<userAdd> selectAll();


    public Integer updateSec(String id,String name,String lifeCity,String loginName,String password);


    public List<ReportGli> selectAllGli();

    public List<teacher> selectTeacher();

    Integer updateTeacher(String userId,Integer teacherId);

}
